﻿using System;
using Gp.Scripts.Equip;
using Gp.Scripts.Core;
using Sirenix.OdinInspector;

namespace Gp.Scripts.Data.Skills {
    public abstract class WeaponAbilityEntityConfig : SkillEntityConfig {
        
        [VerticalGroup("数据/status")] 
        [LabelText("行动消耗")]
        public CostInfo costInfo = CostInfo.All;

        
        [LabelText("技能动画")]
        public SkillAnimationSet animations;
        
        
        public override string FilePath() {
            return "Skills/Weapon";
        }

        public sealed override SkillEntity BuildSkill() {
            throw new FieldAccessException("this method should not be called");
        }

        public abstract WeaponAbilityEntity BuildWeaponSkill(WeaponEntity entity);
    }
}